#ifndef CRASH_CRASH_INTERFACE_H_
#define CRASH_CRASH_INTERFACE_H_

#include <QObject>
#include <QProcess>

class MountFtp : public QObject
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "com.kylin.mobile.assistant.mountftp")
public:
    MountFtp();
    ~MountFtp();

private:
    void startCommand(QString common);
    void killProcess();

Q_SIGNALS:
    void sigMountError(bool, QString);

public Q_SLOTS:
    void mountFtp(QString urlStr, QString userName, QString pwd, QString path);
    void umountFtp(QString path);

private:
    bool m_isMount = true;

private:
};

#endif